<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p {
            background-color: hotpink;
            height: 56px;
            /* line-height: 56px ; */
            /* 选择器 { font: font-style  font-weight  font-size/line-height  font-family;} */
            font: normal 700 16px/56px "Microsoft Yahei";
        }
    </style>
</head>

<body>
    <div class="view">
        <p>splice() 方法通过删除或替换现有元素或者原地添加新的元素来修改数组,并以数组形式返回被修改的内容。此方法会改变原数组。</p>
    </div>
</body>

</html>